//
//  ScoreCollectionViewCell.m
//  iBaby365v2
//
//  Created by Kirinrin on 14-7-15.
//  Copyright (c) 2014年 suplus. All rights reserved.
//

#import "ScoreCollectionViewCell.h"

@implementation ScoreCollectionViewCell

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;

}

-(id)initWithCoder:(NSCoder *)aDecoder {
    self = [super initWithCoder:aDecoder];
    if (self) {
        self.photo.layer.borderColor = [[UIColor whiteColor]CGColor];
        self.photo.layer.borderWidth = 1;
        
        UIView *bgView = [[UIView alloc] initWithFrame:self.backgroundView.frame];
        bgView.backgroundColor = RGBACOLOR(0, 135, 243, 0.6);
//        [UIColor colorWithRed:0 green:135 blue:243 alpha:1.0];

        self.selectedBackgroundView = bgView;
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
